package com.stary.code.springboot.config.search;
/**
 * <p>elasticsearch 配置</p>
 * @author stary {@link stary1993@qq.com}
 * @since 2019-3-11
 */
public class ElasticsearchConfig {
	
	/**
	 * 集群名称
	 */
	private String clusterName = "elasticsearch";
	/**
	 * 集群节点
	 */
	private String clusterNodes = "127.0.0.1:9300";
	
	public String getClusterName() {
		return clusterName;
	}
	public ElasticsearchConfig setClusterName(String clusterName) {
		this.clusterName = clusterName;
		return this;
	}
	public String getClusterNodes() {
		return clusterNodes;
	}
	public ElasticsearchConfig setClusterNodes(String clusterNodes) {
		this.clusterNodes = clusterNodes;
		return this;
	}

}
